﻿<!--登录表单-->
<HTML xmlns:th="http://www.thymeleaf.org">
<HEAD>
    <META http-equiv=Content-Type CONTENT="text/html; charset=gbk" />
	<TITLE>锐颜酒家后台管理平台</TITLE>
	<LINK HREF="static/style/blue/login.css" type=text/css rel=stylesheet />
    <link rel="icon" type="image/x-icon" href="/favicon.ico" />

    <!--内嵌式的JS-->
    <script type="text/javascript">
        //换验证码
        function newImage()
        {
            document.getElementById("codeImg").src = "/createImage?date=" + new Date();
        }
    </script>

</HEAD>
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 CLASS=PageBody >
<FORM METHOD="post" NAME="actForm" ACTION="/userLogin">
    <DIV ID="CenterAreaBg">
        <DIV ID="CenterArea">
            <DIV ID="LogoImg" style="font-weight: bold;color: white;">锐颜酒家后台管理平台</DIV>
            <DIV ID="LoginInfo">
                <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 width=100% style="margin-top: 10px">
                    <TR>
                        <TD width=45 CLASS="Subject">账户</TD>
                        <TD><INPUT SIZE="20" CLASS="TextField" TYPE="text" NAME="username" /></TD>
                        <TD ROWSPAN="2" STYLE="padding-left:10px;"><INPUT TYPE="image" SRC="static/style/blue/images/login/userLogin_button.gif"/></TD>
                    </TR>
                    <TR>
                        <TD CLASS="Subject">密码</TD>
                        <TD><INPUT SIZE="20" CLASS="TextField" TYPE="password" NAME="password"/></TD>
                    </TR>
                    <TR>
                        <TD CLASS="Subject">验证码</TD>
                        <TD>
<!--                            验证码输入框旁边有一个<img>标签用于显示验证码图片，
以及一个<a>标签用于刷新验证码（调用newImage()函数）。-->
                            <INPUT SIZE="20" CLASS="TextField" TYPE="text" NAME="userCode"/>
                        </TD>
                    </TR>
                    <TR>
                        <TD CLASS="Subject"></TD>
                        <TD><img src="/createImage" id="codeImg"/> <a href="javascript:newImage();" style="font-size: 14px">看不清</a></TD>
                    </TR>
                </TABLE>
                <span style="color: red" th:text="${message}"></span>
            </DIV>
            <DIV ID="CopyRight"><A HREF="javascript:void(0)">&copy; 2024 版权所有 锐颜酒家</A></DIV>
        </DIV>
    </DIV>
</FORM>
</BODY>
</HTML>

